import { createApp } from 'vue'

import App from './pages/index.vue'

import router from './router'
import store from './store'

/* 引入组件和组件样式一定放在自己的样式之前，因为我们可能重写组件的样式 */
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import plugin from './components'

// Preprocessor dependency "less" not found. Did you install it?
import './style/index.less'


createApp(App)
    .use(store)
    .use(router)
    .use(ElementPlus)
    .use(plugin)
    .mount('#root')
